﻿using Kaskelot.SP.Model.Contracts;
using System;
using System.Collections.Generic;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace Kaskelot.SP.UI.CONTROLTEMPLATES.Kaskelot.SP.UI.Forms
{
	public partial class SMSForm : BaseForm, IForm, IPostForm
	{
		public string Id { get; set; }
		public string ParentId { get; set; }
		public string[] IdList { get; set; }

		protected void Page_Load(object sender, EventArgs e)
		{
			if (Page.IsPostBack)
				return;

			if(IdList != null)
				Id = string.Join(",", IdList);
		}
	}
}
